﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

/// <summary>
/// health value progress ui of player
/// </summary>
public class PlayerInfo : BattleInfoUI
{
    public Text titleText;

    Player m_Player;

    public void Init(float health ,Transform refer,System.Func<Vector3,Vector3,Vector3> world2UIPos, Vector3 offset = new Vector3())
    {
        base.Init(refer ,world2UIPos, offset);

        if(!m_Player)
            m_Player = refer.GetComponent<Player>();

        if (m_Player)
        {

        }
    }



}
